package com.hotel.project.demo.service;

import com.hotel.project.demo.domain.HotelCommentEntity;
import com.hotel.project.demo.domain.vo.CommentAndAnswerVo;
import com.hotel.project.demo.service.base.ICurdService;

public interface HotelCommentService extends ICurdService<HotelCommentEntity> {

    boolean deleteHotelCommentByCommentId(Long id);

    /**
     * 根据用户id查询用户评论
     * @param orderUserId 用户id
     * @return 查询的评论数据
     */
    CommentAndAnswerVo getCommentByOrderUserId(Long orderUserId);
}
